.game-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
}

#gameCanvas {
    border: 2px solid #333;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.score-container {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.controls {
    margin: 15px 0;
}

button {
    padding: 8px 16px;
    margin: 0 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

.game-over {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.game-over h2 {
    color: #ff0000;
    margin-top: 0;
}

#playAgainBtn {
    background-color: #008CBA;
}

#playAgainBtn:hover {
    background-color: #007B9A;
}